package com.chen.integral.module.integral.service;

import com.chen.base.module.base.dto.PageResponse;
import com.chen.base.module.base.service.BaseService;
import com.chen.integral.module.integral.vo.IntegerHistoryOneVo;
import com.chen.integral.module.integral.vo.IntegerHistoryQueryVo;

import java.util.Date;

/**
 * @Title: manager-spring-mvc-hb
 * @Description: to do
 * @Author: chenjiwei
 * @Date: 2020-11-16 23:28
 * @Version: 1.0.0
 */
public interface IntegralHistoryService<T> extends BaseService<T> {
    PageResponse query(IntegerHistoryQueryVo vo);
    PageResponse queryByIdIn(IntegerHistoryOneVo vo);

    void calcuIntegralByRule(String rule, String user, Date date) throws Exception;
}
